package com.ming.mingbase.base.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.ming.mingbase.base.dao.UserDao;
import com.ming.mingbase.base.exeption.BaseException;
import com.ming.mingbase.base.service.UserService;
import com.ming.mingbase.base.vo.User;
@Service("userService")
public class UserServiceImpl implements UserService{
	@Resource(name="userDao")
	private UserDao userDao;
	@Transactional
	public User getUserById(String id) throws BaseException {
		return userDao.getUserById(id);
	}

}
